package designs.models.builder.example.one;

import java.util.Calendar;

import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JScrollPane;
import javax.swing.JTable;

public class CalendarProductPad {
	Calendar calendar;
	String title;
	String[] weekTitle;
	String[][] dayOfMonth;
	int year = 2018,month = 8;
	public void showCalendarPad() {
		JTable table;
		table = new JTable(dayOfMonth,weekTitle);
		JDialog dialog = new JDialog();
		dialog.setTitle(title);
		dialog.add(new JScrollPane(table));
		dialog.setBounds(130, 160, 320, 180);
		dialog.setVisible(true);
		dialog.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
	}
}
